import React, { Component } from 'react'
// import Count from './components/Count'
import Count from './containers/Count'
// 引入store
import store from './redux/store'

export default class App extends Component {
  render() {
    return (
      <div>
      App...
      {/* 必须通过props方式传入 */}
      <Count store={store}></Count>

      {/* 使用第三步中的Provider就无需每个容器组件传递store了 */}
      {/* <Count></Count> */}
      </div>
    )
  }
}
